class Libz
	def self.Factorial(value)
		(1..value).inject(:*)
	end
  	def self.Binomial(value1, value2)
    	pTop = (value1-value2+1 .. value1).inject(1, &:*) 
    	pBottom = (2 .. value2).inject(1, &:*)
    	pTop / pBottom
	end
end